/**
 * @author ghp
 * @title
 * @description
 */
public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();

//        TreeNode node1 = new TreeNode(1);
//        TreeNode node2 = new TreeNode(2);
//        TreeNode node3 = new TreeNode(3);
//        TreeNode node4 = new TreeNode(4);
//        TreeNode node5 = new TreeNode(5);
//
//        node1.left = node2;
//        node1.right = node3;
//
//        node3.left = node4;
//        node3.right = node5;

//        Solution codec = new Solution();
//        int rob = codec.rob(node1);
//        System.out.println("rob = " + rob);


//        equations = [["a","b"],["b","c"]], values = [2.0,3.0], queries = [["a","c"],["b","a"],["a","e"],["a","a"],["x","x"]]
//        List<List<String>> equations = new ArrayList<>();
//        equations.add(Arrays.asList("a","b"));
//        equations.add(Arrays.asList("b","c"));
//
//        double[] values = new double[]{2.0,3.0};
//
//        List<List<String>> queries = new ArrayList<>();
//        queries.add(Arrays.asList("a","c"));
//        queries.add(Arrays.asList("b","a"));
//        queries.add(Arrays.asList("a","e"));
//        queries.add(Arrays.asList("a","a"));
//        queries.add(Arrays.asList("x","x"));
//
//        solution.calcEquation(equations, values, queries);

//        solution.reconstructQueue(new int[][]{
//                {7,0},{4,4},{7,1},{5,0},{6,1},{5,2}
//        });
    }
}
